Gauge for WinRT
C1LinearGauge Orientation

C1LinearGauge controls do not have the C1RadialGauge.StartAngle and C1RadialGauge.SweepAngle properties used with radial gauges. Instead, they have an C1LinearGauge.Orientation property that you can use to create vertical or horizontal gauges.

By default, the C1LinearGauge.Orientation property is set to Horizontal and the gauge appears displayed horizontally in the application:

You can set the C1LinearGauge.Orientation property to Vertical to create a vertical gauge:

By default, the vertical C1LinearGauge control will display a scale from top to bottom – for example 0 to 100 in the example above. To reverse the direction of the scale you would need to set the following properties:

The scale will be reversed so 100 is at the top and 0 is at the bottom of the gauge.

A linear gauge has many applications. For example, a vertical linear gauge could be used as a thermometer such as the one displayed in the Using C1LinearGauge topic.
See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback